package dao;

import entity.BannerEntity;
import java.util.List;

public interface BannerDao {

	/**
	 * 根据id获取banner
	 * @param id
	 * @return
	 */
	BannerEntity getBannerById(int id);

	/**
	 * 获取banner
	 * @return
	 */
	List<BannerEntity> getBanner(BannerEntity bannerEntity);

	/**
	 * 修改banner
	 * @return
	 */
	void updateBanner(BannerEntity bannerEntity);
	/**
	 * 添加banner
	 * @param bannerEntity
	 * @return
	 */
	void addBanner(BannerEntity bannerEntity);
}
